home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 43
/
Aminet 43 (2001)(GTI - Schatztruhe)[!][Jun 2001].iso
/
Aminet
/
comm
/
tcp
/
Amster-source.lha
/
Amster_Install
/
Source
/
include
/
chatline.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-11-21
|
691b
|
39 lines
/*
** Chatline (String.mui Subclass with History)
** Copyright (C) 2000 Gurer Ozen <madcat@linuxfan.com>
**
** This code is free software; you can redistribute it and/or
** modify it under the terms of GNU General Public License.
*/
#include "mui.h"
#ifndef MADCAT_CHATLINE_H
#define MADCAT_CHATLINE_H
MUI_DISPATCH_DECL(chatline_dispatch);
struct chatlinestr
{
struct chatlinestr *next;
struct chatlinestr *prev;
int len;
char line[2];
};
struct chatlinedata
{
void *pool;
struct chatlinestr *lines;
struct chatlinestr *lastline;
struct chatlinestr *cur;
};
/* change following macros according to main program */
#define CHATLINE_ADD 0xf0f0
#endif /* MADCAT_CHATLINE_H */